/**
 * ProjectName:  mall-service
 * FileName:  PlanService.java
 * PackageName:  com.blx.service
 * Copyright (c) 2013, CYOU All Rights Reserved.
*/
package com.blx.service;

import com.blx.entity.Plan;
import com.blx.model.request.PlanRequest;
import com.blx.model.response.PlanResponse;
import com.blx.utils.pagination.Pagination;

/**
 * ClassName: PlanService. <br/>
 * Description:  Plan接口 <br/>
 * @author wangwl
 * 2013-3-4 下午8:51:59 <br/>
 * @version 1.0
 */
public interface PlanService {
	/**
	 * 保存Plan实体 <br/>
	 * @param plan
	 * @author wangwl
	 * 2013-3-4 下午8:59:29
	 */
	public void savePlan(Plan plan);

	/**
	 * 更新Plan实体<br/>
	 * @param plan
	 * @author wangwl
	 * 2013-3-4 下午8:59:52
	 */
	public void updatePlan(Plan plan);
	/**
	 * 根据id删除Plan实体 <br/>
	 * @param planId
	 * @author wangwl
	 * 2013-3-4 下午9:00:14
	 */
	public void deletePlanById(Integer planId);
	/**
	 * 根据id获取Plan实体 <br/>
	 * @param planId
	 * @return
	 * @author wangwl
	 * 2013-3-4 下午9:00:32
	 */
	public Plan getPlan(Integer planId);
	/**
	 * 分页查询Plan <br/>
	 * @param pageNumber
	 * @param pageSize
	 * @return
	 * @author wangwl
	 * 2013-3-4 下午9:01:23
	 */
	public Pagination<Plan> findPagePlanAll(int pageNumber,int pageSize);

	public PlanResponse getPlanList(PlanRequest request);
}

